<template>
  <div class="row justify-content-center">
    <div class="col-8">
      <div v-if="roomGoodSearch">
        <h2 class="jh-entity-heading" data-cy="roomGoodSearchDetailsHeading"><span>RoomGoodSearch</span> {{ roomGoodSearch.id }}</h2>
        <dl class="row jh-entity-details">
          <dt>
            <span>Bk Room Type</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.bkRoomType }}</span>
          </dd>
          <dt>
            <span>Bk No</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.bkNo }}</span>
          </dd>
          <dt>
            <span>Title</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.title }}</span>
          </dd>
          <dt>
            <span>Price</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.price }}</span>
          </dd>
          <dt>
            <span>Room Basic</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.roomBasic }}</span>
          </dd>
          <dt>
            <span>Room Transaction</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.roomTransaction }}</span>
          </dd>
          <dt>
            <span>Rent Basic</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.rentBasic }}</span>
          </dd>
          <dt>
            <span>Community Id</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.communityId }}</span>
          </dd>
          <dt>
            <span>Room Features</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.roomFeatures }}</span>
          </dd>
          <dt>
            <span>Room Sell Point</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.roomSellPoint }}</span>
          </dd>
          <dt>
            <span>Community Introduction</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.communityIntroduction }}</span>
          </dd>
          <dt>
            <span>Room Introduction</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.roomIntroduction }}</span>
          </dd>
          <dt>
            <span>Surrounding Facilities</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.surroundingFacilities }}</span>
          </dd>
          <dt>
            <span>Transportation</span>
          </dt>
          <dd>
            <span>{{ roomGoodSearch.transportation }}</span>
          </dd>
        </dl>
        <button type="submit" v-on:click.prevent="previousState()" class="btn btn-info" data-cy="entityDetailsBackButton">
          <font-awesome-icon icon="arrow-left"></font-awesome-icon>&nbsp;<span> Back</span>
        </button>
        <router-link
          v-if="roomGoodSearch.id"
          :to="{ name: 'RoomGoodSearchEdit', params: { roomGoodSearchId: roomGoodSearch.id } }"
          custom
          v-slot="{ navigate }"
        >
          <button @click="navigate" class="btn btn-primary">
            <font-awesome-icon icon="pencil-alt"></font-awesome-icon>&nbsp;<span> Edit</span>
          </button>
        </router-link>
      </div>
    </div>
  </div>
</template>

<script lang="ts" src="./room-good-search-details.component.ts"></script>
